package com.example.myapplication

/**
 *
 *抽象类和接口
 */
fun main(args: Array<String>) {

}

interface IMan {
    fun eat()
}

abstract class H {
    abstract fun pee()
}

class Persion : H(), IMan {
    override fun pee() {

    }

    override fun eat() {

    }
}